from robot.libraries.BuiltIn import BuiltIn 
import pytest


def test_zero_division():
    with pytest.raises(ZeroDivisionError):
        1 / 0

def test_pass():
    #BuiltIn().set_test_variable('${RESULTLOG}',"123456789")
    assert 1 == 1

def test_fail():
    #BuiltIn().set_test_variable('${RESULTLOG}',"123456789")
    assert 2==1

def test_exception():
    raise Exception("error")
